package com.nx.project.javacore.factory.impl;

import com.nx.project.javacore.factory.Breakfast;
//import com.rowling.factory.Factory;
import com.nx.vip.factory.Factory;

@Factory(id = "Dumplins",type = Breakfast.class)
//@Factory(id = "Dumplins" , type = Breakfast.class)
public class Dumplins implements Breakfast {
    @Override
    public float getPrice() {
        return 7.8f;
    }
}
